/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ar.com.wholeconsulting.pacc.report;

/**
 *
 * @author Duco Pablo
 */
public enum COLUMNAS {

    USER(0), PASSWD(1), GROUP(2), PRIOTITY(3);
    private int id;

    private COLUMNAS(int id) {
        this.id = id;
    }

    public int getId() {
        return id;
    }

    public static COLUMNAS fromId(int id) {
        for (COLUMNAS col : values()) {
            if (col.getId() == id) {
                return col;
            }
        }
        return null;
    }
}
